import request from '@/utils/request'

export default{
    getHospitalList(page,size,searchObj){
        return request({
            url:`admin/hosp/hospital/findHospital/${page}/${size}`,
            method:'post',
            data:searchObj
        })
    },
    updateStatus(id,status){
        return request({
            url:`admin/hosp/hospital/updateStatus/${id}/${status}`,
            method:'put'
        })
    },
    findHospital(id){
        return request({
            url:`admin/hosp/hospital/findHospital/${id}`,
            method:'get'
        })
    }
}